.el-tooltip__popper{
  max-width: 500px;
}
// card
.ky-card{
  .el-card__header{
    padding:$pdmd;
  }
  .el-card__body{
    padding:$pdmd;
  }
}
.ky-card-lg{
  .el-card__header{
    padding:$pdlg;
  }
  .el-card__body{
    padding:$pdlg;
  }
}
.ky-card-sm{
  .el-card__header{
    padding:$pdsm;
  }
  .el-card__body{
    padding:$pdsm;
  }
}
.ky-card-xs{
  .el-card__header{
    padding:$pdxs;
  }
  .el-card__body{
    padding:$pdxs;
  }
}
.ky-card-hdbg{
  .el-card__header{
    background-color:$colorCardHeader;
  }
}
// table
.ky-table{
  th{
    background-color:$colorPrimary;
    color:#fff;
  }
  .el-table__empty-text {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
  }
}
.ky-table-lg{
  td, th{
    padding:$pdlg 0;
  }
}
.ky-table-sm{
  td, th{
    padding:$pdsm 0;
  }
}
.ky-table-xs{
  td, th{
    padding:$pdxs 0;
  }
}
.ky-minh_table-body {
  .el-table__body-wrapper {
    min-height: 440px;
    max-height: 500px;
    overflow-y: auto;
  }
}
.ky-tag-sm.el-tag{
    height: 24px;
    line-height: 24px;
    padding:0 6px;
}
.ky-table-body_minheight {
  .el-table__body-wrapper {
    min-height: 200px;
  }
}

// form
.ky-form-inline{
  .el-form-item{
    margin:$pdmd/3 0;
    margin-right:$pdmd;
    .el-form-item__content{
      line-height: normal;
      .el-radio-group{
        margin-top: 10px;
      }
    }
  }
}
.ky-form-inline-lg{
  .el-form-item{
    margin:$pdlg/3 0;
    margin-right:$pdlg;
    .el-form-item__content{
      line-height: normal;
      .el-radio-group{
        margin-top: 10px;
      }
    }
  }
}
.ky-form-inline-sm{
  .el-form-item{
    margin:$pdsm/3 0;
    margin-right:$pdsm;
    .el-form-item__content{
      line-height: normal;
      .el-radio-group{
        margin-top: 10px;
      }
    }
    .el-input__inner{
      height: 36px;
      line-height: 36px;
    }
    .el-input__icon{
      line-height: 36px;
    }
    .el-range__icon{
      line-height: 30px;
    }
    .el-button{
      padding: 10px 12px;
    }
    .el-form-item__label{
      line-height: 36px;
    }
    .el-date-editor{
      .el-range-separator{
        width: 8%;
      }
      .el-range__icon{
        line-height: 28px;
      }
      .el-range-separator{
        line-height: 28px;
      }
      .el-range__close-icon{
        line-height: 30px;
      }
    }
    .el-date-editor--daterange.el-input__inner{
      width: 280px;
    }
    .el-radio-button__inner{
      padding: 10px 16px;
    }
    .el-cascader{
      line-height: 36px;
    }
  }
  .item-line-36{
    .el-form-item__content{
      line-height: 36px;
    }
  }
}
.ky-form-inline-xs{
  .el-form-item{
    margin:$pdxs/3 0;
    margin-right:$pdxs;
    .el-form-item__content{
      line-height: normal;
      .el-radio-group{
        margin-top: 9px;
      }
    }
    .el-input__inner{
      height: 30px;
      line-height: 30px;
    }
    .el-input__icon{
      line-height: 30px;
    }
    .el-range__icon{
      line-height: 28px;
    }
    .el-button{
      padding: 6px 10px;
    }
    .el-form-item__label{
      line-height: 30px;
    }
    .el-date-editor{
      .el-range-separator{
        width: 8%;
      }
      .el-range__icon{
        line-height: 28px;
      }
      .el-range-separator{
        line-height: 28px;
      }
      .el-range__close-icon{
        line-height: 30px;
      }
    }
    .el-date-editor--daterange.el-input__inner{
      width: 280px;
    }
  }
}
.ky-form-ipt-width{
  .el-form-item{
    .el-input__inner{
      width: 217px;
    }
    .el-date-editor--daterange.el-input__inner{
      width: 280px;
    }
  }
  .ky-formitem-ipt_w100{
    .el-input__inner{
      width: 100px;
    }
  }
}
.ky-input-group__append_w60{
  .el-input-group__append{
    width: 66px;
  }
}

// dialog
.ky-dialog{
  .el-dialog__body{
    padding:0;
  }
}
.ky-small-dialog{
    .el-dialog__body{
      padding:0px 20px;
    }
  }

.ky-divider{
  .el-divider--horizontal{
    background-color: #EBEEF5;
    margin: 5px 0;
  }
}

// 按钮样式 橘色的更换
.el-button--warning{
  background-color: #FB8B28;
  border-color: #FB8B28;
}
.el-button--warning:hover{
  background-color: #ff7600;
  border-color: #ff7600;
}
.el-button--warning.is-disabled, .el-button--warning.is-disabled:active, .el-button--warning.is-disabled:focus, .el-button--warning.is-disabled:hover{
  background-color: #ffb779;
  border-color: #ffb779;
}

.styleUpdate.is-disabled{
  background-color: #F0F2F5 !important;
  border-color: #DCDFE6 !important;
  color: #A8ABB2 !important;
}

// 图片预览关闭icon
.el-image-viewer__close{
  color:#fff;
}
// input
// .ky-iptwsm{
//   width: $iptwsm;
// }
.dragDialog{
    margin-top: 0!important;
    margin: 0!important;
}

.el-button--primary.is-plain {
  color: #ff7600;
  background: #fdf6ec !important;
  border-color: #ff7600;
}
.el-button--primary.is-plain:focus, .el-button--primary.is-plain:hover {
  color: #ff7600;
}
